﻿using System;

namespace Columbus
{
    /// <summary>
    /// Exception is thrown when error happens while execution some action in background
    /// </summary>
    public class BackgroundException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="BackgroundException"/> class.
        /// </summary>
        /// <param name="exception">Background thread exception.</param>
        public BackgroundException(Exception exception) 
            : base("Exception while executing background operation", exception)
        {
        }
    }
}